\hypertarget{classdb_opportunity}{
\section{db\-Opportunity \-Class \-Reference}
\label{classdb_opportunity}\index{db\-Opportunity@{db\-Opportunity}}
}
\subsection*{\-Public \-Member \-Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{classdb_opportunity_a770c3eef39022f2426f719145e1d282c}{build\-Query} (\$cat, \$city, \$search, \$sort, \$search\-For)
\item 
\hyperlink{classdb_opportunity_a0785aaa639cf656d77fdc1e833664d56}{rep\-Paid} ()
\item 
\hyperlink{classdb_opportunity_a240d7c4fd55fe1b16251d5c385e809f9}{delete\-From\-Opportunity} (\$id)
\item 
\hyperlink{classdb_opportunity_a2fa0a0c52c0614e87c0962e995eb6267}{update\-Opportunity} (\$id, \$o)
\item 
\hyperlink{classdb_opportunity_a316a7f5c376a30ed3f4b5120470e434b}{check\-I\-D} (\$o)
\item 
\hyperlink{classdb_opportunity_a64d00cefa3073adbd4728a60ce74482d}{get\-Opportunity} (\$opportunity\-I\-D)
\item 
\hyperlink{classdb_opportunity_aec9b0fef665ef9dfab3b8c63b7339bcd}{get\-Opportunity\-I\-D} (\$o)
\item 
\hyperlink{classdb_opportunity_ae08ebacf19877370e18d4ddc9d70cf95}{get\-Organization\-I\-D} (\$o)
\item 
\hyperlink{classdb_opportunity_aa182109adc81740de9cf1895474c3d2c}{get\-Contact\-I\-D} (\$o)
\item 
\hyperlink{classdb_opportunity_aa04834cf0a04caad6c1da743eedee5ba}{get\-Title} (\$o)
\item 
\hyperlink{classdb_opportunity_a3f5dacb26be08e1c71a99ddfcefb6355}{get\-Num\-Positions\-Available} (\$o)
\item 
\hyperlink{classdb_opportunity_ad4b8db2f34e538a27126e8a34db6dbdc}{get\-Semester} (\$o)
\item 
\hyperlink{classdb_opportunity_aba3eefe6517df04c9ad1fc9473954a1b}{get\-Pay\-Rate} (\$o)
\item 
\hyperlink{classdb_opportunity_a77900199aeddab8a2ac6101ceb9c2783}{get\-Duration} (\$o)
\item 
\hyperlink{classdb_opportunity_a5cb1cf39e5d1604b25873659a4d5ce71}{get\-Responsibilities} (\$o)
\item 
\hyperlink{classdb_opportunity_a32d19577d92e17b4ab00cafae0c4c69a}{get\-Qualifications} (\$o)
\item 
\hyperlink{classdb_opportunity_a3735fc4415291382e7e16a01db4dc42b}{get\-Instructions} (\$o)
\item 
\hyperlink{classdb_opportunity_aa5dd7589303c722b539ed99baf47bf56}{get\-Comments} (\$o)
\item 
\hyperlink{classdb_opportunity_a489d394095690d4789dc213e2e8f6a64}{get\-Categories} (\$o)
\item 
\hyperlink{classdb_opportunity_a8537d4bd19824f35db9bfdd246924129}{get\-Pending} (\$o)
\item 
\hyperlink{classdb_opportunity_a033c71889aee7ed584f3ecada01764bc}{get\-Date\-Added} (\$o)
\end{DoxyCompactItemize}
\subsection*{\-Static \-Public \-Member \-Functions}
\begin{DoxyCompactItemize}
\item 
static \hyperlink{classdb_opportunity_aea6c4d653e217f31256ded5783ed58f4}{create\-Table} ()
\item 
static \hyperlink{classdb_opportunity_ae2fe3bffe3a16a082e3ba2634240afca}{get\-All\-Opportunities} ()
\item 
static \hyperlink{classdb_opportunity_aa6138359dee47e4b310d74fc17dc3ef0}{add\-Opportunity} (\$o, \&\$id=null)
\item 
static \hyperlink{classdb_opportunity_a2dfd5427fef776258f77a33a83c72411}{get\-All\-By\-I\-D} (\$id, \&\$output=null)
\end{DoxyCompactItemize}


\subsection{\-Detailed \-Description}
\-Communicates with the \hyperlink{class_contact}{\-Contact} control file to know which student data to get and set. \-It is the only file that has the \-S\-Q\-L queries and \-My\-S\-Q\-L connections

\begin{DoxyCopyright}{\-Copyright}
2011 by \-Dan, \-Steven, \-Brice, \-Mike, and \-Aaron. \-This program is part of \hyperlink{class_internship}{\-Internship} 2 \-Career, which is free software. \-It comes with absolutely no warranty. \-You can redistribute or modify it under the terms of the \-G\-N\-U \-General \-Public \-License as published by the \-Free \-Software \-Foundation (\-For more information, see $<$\href{http://www.gnu.org/licenses/}{\tt http\-://www.\-gnu.\-org/licenses/}).
\end{DoxyCopyright}
\begin{DoxyVersion}{\-Version}
\-March 6, 2011
\end{DoxyVersion}
\begin{DoxyAuthor}{\-Author}
\-Aaron \-Jarzombek and \-Brice \-Rader 
\end{DoxyAuthor}


\-Definition at line 26 of file db\-Opportunity.\-php.



\subsection{\-Member \-Function \-Documentation}
\hypertarget{classdb_opportunity_aa6138359dee47e4b310d74fc17dc3ef0}{
\index{db\-Opportunity@{db\-Opportunity}!add\-Opportunity@{add\-Opportunity}}
\index{add\-Opportunity@{add\-Opportunity}!dbOpportunity@{db\-Opportunity}}
\subsubsection[{add\-Opportunity}]{\setlength{\rightskip}{0pt plus 5cm}static add\-Opportunity (
\begin{DoxyParamCaption}
\item[{\$}]{o, }
\item[{\&\$}]{id = {\ttfamily null}}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}static\mbox{]}}}}
\label{classdb_opportunity_aa6138359dee47e4b310d74fc17dc3ef0}
\-Adds an opportunity to the database. 
\begin{DoxyParams}[1]{\-Parameters}
object & {\em \$o} & \-Class \hyperlink{class_opportunity}{\-Opportunity} \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{\-Returns}
bool \-Returns \-T\-R\-U\-E if query completes successfully. 
\end{DoxyReturn}


\-Definition at line 313 of file db\-Opportunity.\-php.

\hypertarget{classdb_opportunity_a770c3eef39022f2426f719145e1d282c}{
\index{db\-Opportunity@{db\-Opportunity}!build\-Query@{build\-Query}}
\index{build\-Query@{build\-Query}!dbOpportunity@{db\-Opportunity}}
\subsubsection[{build\-Query}]{\setlength{\rightskip}{0pt plus 5cm}build\-Query (
\begin{DoxyParamCaption}
\item[{\$}]{cat, }
\item[{\$}]{city, }
\item[{\$}]{search, }
\item[{\$}]{sort, }
\item[{\$}]{search\-For}
\end{DoxyParamCaption}
)}}
\label{classdb_opportunity_a770c3eef39022f2426f719145e1d282c}


\-Definition at line 98 of file db\-Opportunity.\-php.

\hypertarget{classdb_opportunity_a316a7f5c376a30ed3f4b5120470e434b}{
\index{db\-Opportunity@{db\-Opportunity}!check\-I\-D@{check\-I\-D}}
\index{check\-I\-D@{check\-I\-D}!dbOpportunity@{db\-Opportunity}}
\subsubsection[{check\-I\-D}]{\setlength{\rightskip}{0pt plus 5cm}check\-I\-D (
\begin{DoxyParamCaption}
\item[{\$}]{o}
\end{DoxyParamCaption}
)}}
\label{classdb_opportunity_a316a7f5c376a30ed3f4b5120470e434b}
\-Checks to see if the \-I\-D exists. 
\begin{DoxyParams}[1]{\-Parameters}
object & {\em \$o} & \-Class \hyperlink{class_opportunity}{\-Opportunity} \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{\-Returns}
int \-Returns \-F\-A\-L\-S\-E of \-I\-D cannot be found, and \-T\-R\-U\-E if \-I\-D is found. 
\end{DoxyReturn}


\-Definition at line 344 of file db\-Opportunity.\-php.

\hypertarget{classdb_opportunity_aea6c4d653e217f31256ded5783ed58f4}{
\index{db\-Opportunity@{db\-Opportunity}!create\-Table@{create\-Table}}
\index{create\-Table@{create\-Table}!dbOpportunity@{db\-Opportunity}}
\subsubsection[{create\-Table}]{\setlength{\rightskip}{0pt plus 5cm}static create\-Table (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}static\mbox{]}}}}
\label{classdb_opportunity_aea6c4d653e217f31256ded5783ed58f4}


\-Definition at line 28 of file db\-Opportunity.\-php.

\hypertarget{classdb_opportunity_a240d7c4fd55fe1b16251d5c385e809f9}{
\index{db\-Opportunity@{db\-Opportunity}!delete\-From\-Opportunity@{delete\-From\-Opportunity}}
\index{delete\-From\-Opportunity@{delete\-From\-Opportunity}!dbOpportunity@{db\-Opportunity}}
\subsubsection[{delete\-From\-Opportunity}]{\setlength{\rightskip}{0pt plus 5cm}delete\-From\-Opportunity (
\begin{DoxyParamCaption}
\item[{\$}]{id}
\end{DoxyParamCaption}
)}}
\label{classdb_opportunity_a240d7c4fd55fe1b16251d5c385e809f9}
\-Deletes data from the \hyperlink{class_opportunity}{\-Opportunity} table.


\begin{DoxyParams}[1]{\-Parameters}
\hyperlink{class_opportunity}{\-Opportunity} & {\em \$o} & \-The data to be deleted. \-It has values for all the columns in the table, including primary key value.\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{\-Returns}
ture if the query is successful. 
\end{DoxyReturn}


\-Definition at line 183 of file db\-Opportunity.\-php.

\hypertarget{classdb_opportunity_a2dfd5427fef776258f77a33a83c72411}{
\index{db\-Opportunity@{db\-Opportunity}!get\-All\-By\-I\-D@{get\-All\-By\-I\-D}}
\index{get\-All\-By\-I\-D@{get\-All\-By\-I\-D}!dbOpportunity@{db\-Opportunity}}
\subsubsection[{get\-All\-By\-I\-D}]{\setlength{\rightskip}{0pt plus 5cm}static get\-All\-By\-I\-D (
\begin{DoxyParamCaption}
\item[{\$}]{id, }
\item[{\&\$}]{output = {\ttfamily null}}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}static\mbox{]}}}}
\label{classdb_opportunity_a2dfd5427fef776258f77a33a83c72411}


\-Definition at line 597 of file db\-Opportunity.\-php.

\hypertarget{classdb_opportunity_ae2fe3bffe3a16a082e3ba2634240afca}{
\index{db\-Opportunity@{db\-Opportunity}!get\-All\-Opportunities@{get\-All\-Opportunities}}
\index{get\-All\-Opportunities@{get\-All\-Opportunities}!dbOpportunity@{db\-Opportunity}}
\subsubsection[{get\-All\-Opportunities}]{\setlength{\rightskip}{0pt plus 5cm}static get\-All\-Opportunities (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}static\mbox{]}}}}
\label{classdb_opportunity_ae2fe3bffe3a16a082e3ba2634240afca}
\-Retrieves all the data in the table \hyperlink{class_opportunity}{\-Opportunity}.

\begin{DoxyReturn}{\-Returns}
\-Resource object that contains retrieved data. \-If query is fails, it returns false. 
\end{DoxyReturn}


\-Definition at line 75 of file db\-Opportunity.\-php.

\hypertarget{classdb_opportunity_a489d394095690d4789dc213e2e8f6a64}{
\index{db\-Opportunity@{db\-Opportunity}!get\-Categories@{get\-Categories}}
\index{get\-Categories@{get\-Categories}!dbOpportunity@{db\-Opportunity}}
\subsubsection[{get\-Categories}]{\setlength{\rightskip}{0pt plus 5cm}get\-Categories (
\begin{DoxyParamCaption}
\item[{\$}]{o}
\end{DoxyParamCaption}
)}}
\label{classdb_opportunity_a489d394095690d4789dc213e2e8f6a64}


\-Definition at line 555 of file db\-Opportunity.\-php.

\hypertarget{classdb_opportunity_aa5dd7589303c722b539ed99baf47bf56}{
\index{db\-Opportunity@{db\-Opportunity}!get\-Comments@{get\-Comments}}
\index{get\-Comments@{get\-Comments}!dbOpportunity@{db\-Opportunity}}
\subsubsection[{get\-Comments}]{\setlength{\rightskip}{0pt plus 5cm}get\-Comments (
\begin{DoxyParamCaption}
\item[{\$}]{o}
\end{DoxyParamCaption}
)}}
\label{classdb_opportunity_aa5dd7589303c722b539ed99baf47bf56}


\-Definition at line 541 of file db\-Opportunity.\-php.

\hypertarget{classdb_opportunity_aa182109adc81740de9cf1895474c3d2c}{
\index{db\-Opportunity@{db\-Opportunity}!get\-Contact\-I\-D@{get\-Contact\-I\-D}}
\index{get\-Contact\-I\-D@{get\-Contact\-I\-D}!dbOpportunity@{db\-Opportunity}}
\subsubsection[{get\-Contact\-I\-D}]{\setlength{\rightskip}{0pt plus 5cm}get\-Contact\-I\-D (
\begin{DoxyParamCaption}
\item[{\$}]{o}
\end{DoxyParamCaption}
)}}
\label{classdb_opportunity_aa182109adc81740de9cf1895474c3d2c}


\-Definition at line 415 of file db\-Opportunity.\-php.

\hypertarget{classdb_opportunity_a033c71889aee7ed584f3ecada01764bc}{
\index{db\-Opportunity@{db\-Opportunity}!get\-Date\-Added@{get\-Date\-Added}}
\index{get\-Date\-Added@{get\-Date\-Added}!dbOpportunity@{db\-Opportunity}}
\subsubsection[{get\-Date\-Added}]{\setlength{\rightskip}{0pt plus 5cm}get\-Date\-Added (
\begin{DoxyParamCaption}
\item[{\$}]{o}
\end{DoxyParamCaption}
)}}
\label{classdb_opportunity_a033c71889aee7ed584f3ecada01764bc}


\-Definition at line 583 of file db\-Opportunity.\-php.

\hypertarget{classdb_opportunity_a77900199aeddab8a2ac6101ceb9c2783}{
\index{db\-Opportunity@{db\-Opportunity}!get\-Duration@{get\-Duration}}
\index{get\-Duration@{get\-Duration}!dbOpportunity@{db\-Opportunity}}
\subsubsection[{get\-Duration}]{\setlength{\rightskip}{0pt plus 5cm}get\-Duration (
\begin{DoxyParamCaption}
\item[{\$}]{o}
\end{DoxyParamCaption}
)}}
\label{classdb_opportunity_a77900199aeddab8a2ac6101ceb9c2783}


\-Definition at line 485 of file db\-Opportunity.\-php.

\hypertarget{classdb_opportunity_a3735fc4415291382e7e16a01db4dc42b}{
\index{db\-Opportunity@{db\-Opportunity}!get\-Instructions@{get\-Instructions}}
\index{get\-Instructions@{get\-Instructions}!dbOpportunity@{db\-Opportunity}}
\subsubsection[{get\-Instructions}]{\setlength{\rightskip}{0pt plus 5cm}get\-Instructions (
\begin{DoxyParamCaption}
\item[{\$}]{o}
\end{DoxyParamCaption}
)}}
\label{classdb_opportunity_a3735fc4415291382e7e16a01db4dc42b}


\-Definition at line 527 of file db\-Opportunity.\-php.

\hypertarget{classdb_opportunity_a3f5dacb26be08e1c71a99ddfcefb6355}{
\index{db\-Opportunity@{db\-Opportunity}!get\-Num\-Positions\-Available@{get\-Num\-Positions\-Available}}
\index{get\-Num\-Positions\-Available@{get\-Num\-Positions\-Available}!dbOpportunity@{db\-Opportunity}}
\subsubsection[{get\-Num\-Positions\-Available}]{\setlength{\rightskip}{0pt plus 5cm}get\-Num\-Positions\-Available (
\begin{DoxyParamCaption}
\item[{\$}]{o}
\end{DoxyParamCaption}
)}}
\label{classdb_opportunity_a3f5dacb26be08e1c71a99ddfcefb6355}


\-Definition at line 443 of file db\-Opportunity.\-php.

\hypertarget{classdb_opportunity_a64d00cefa3073adbd4728a60ce74482d}{
\index{db\-Opportunity@{db\-Opportunity}!get\-Opportunity@{get\-Opportunity}}
\index{get\-Opportunity@{get\-Opportunity}!dbOpportunity@{db\-Opportunity}}
\subsubsection[{get\-Opportunity}]{\setlength{\rightskip}{0pt plus 5cm}get\-Opportunity (
\begin{DoxyParamCaption}
\item[{\$}]{opportunity\-I\-D}
\end{DoxyParamCaption}
)}}
\label{classdb_opportunity_a64d00cefa3073adbd4728a60ce74482d}
\-Gets all the opportunity information for an opportunity with a certain \-I\-D 
\begin{DoxyParams}[1]{\-Parameters}
int & {\em \$opportunity\-I\-D} & \-I\-D opportunity\-I\-D of opportunity you want to get \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{\-Returns}
object \-Returns \-F\-A\-L\-S\-E of the \-I\-D \-I\-D does not exist, or an \hyperlink{class_opportunity}{\-Opportunity} object if it does. 
\end{DoxyReturn}


\-Definition at line 367 of file db\-Opportunity.\-php.

\hypertarget{classdb_opportunity_aec9b0fef665ef9dfab3b8c63b7339bcd}{
\index{db\-Opportunity@{db\-Opportunity}!get\-Opportunity\-I\-D@{get\-Opportunity\-I\-D}}
\index{get\-Opportunity\-I\-D@{get\-Opportunity\-I\-D}!dbOpportunity@{db\-Opportunity}}
\subsubsection[{get\-Opportunity\-I\-D}]{\setlength{\rightskip}{0pt plus 5cm}get\-Opportunity\-I\-D (
\begin{DoxyParamCaption}
\item[{\$}]{o}
\end{DoxyParamCaption}
)}}
\label{classdb_opportunity_aec9b0fef665ef9dfab3b8c63b7339bcd}


\-Definition at line 394 of file db\-Opportunity.\-php.

\hypertarget{classdb_opportunity_ae08ebacf19877370e18d4ddc9d70cf95}{
\index{db\-Opportunity@{db\-Opportunity}!get\-Organization\-I\-D@{get\-Organization\-I\-D}}
\index{get\-Organization\-I\-D@{get\-Organization\-I\-D}!dbOpportunity@{db\-Opportunity}}
\subsubsection[{get\-Organization\-I\-D}]{\setlength{\rightskip}{0pt plus 5cm}get\-Organization\-I\-D (
\begin{DoxyParamCaption}
\item[{\$}]{o}
\end{DoxyParamCaption}
)}}
\label{classdb_opportunity_ae08ebacf19877370e18d4ddc9d70cf95}


\-Definition at line 401 of file db\-Opportunity.\-php.

\hypertarget{classdb_opportunity_aba3eefe6517df04c9ad1fc9473954a1b}{
\index{db\-Opportunity@{db\-Opportunity}!get\-Pay\-Rate@{get\-Pay\-Rate}}
\index{get\-Pay\-Rate@{get\-Pay\-Rate}!dbOpportunity@{db\-Opportunity}}
\subsubsection[{get\-Pay\-Rate}]{\setlength{\rightskip}{0pt plus 5cm}get\-Pay\-Rate (
\begin{DoxyParamCaption}
\item[{\$}]{o}
\end{DoxyParamCaption}
)}}
\label{classdb_opportunity_aba3eefe6517df04c9ad1fc9473954a1b}


\-Definition at line 471 of file db\-Opportunity.\-php.

\hypertarget{classdb_opportunity_a8537d4bd19824f35db9bfdd246924129}{
\index{db\-Opportunity@{db\-Opportunity}!get\-Pending@{get\-Pending}}
\index{get\-Pending@{get\-Pending}!dbOpportunity@{db\-Opportunity}}
\subsubsection[{get\-Pending}]{\setlength{\rightskip}{0pt plus 5cm}get\-Pending (
\begin{DoxyParamCaption}
\item[{\$}]{o}
\end{DoxyParamCaption}
)}}
\label{classdb_opportunity_a8537d4bd19824f35db9bfdd246924129}


\-Definition at line 569 of file db\-Opportunity.\-php.

\hypertarget{classdb_opportunity_a32d19577d92e17b4ab00cafae0c4c69a}{
\index{db\-Opportunity@{db\-Opportunity}!get\-Qualifications@{get\-Qualifications}}
\index{get\-Qualifications@{get\-Qualifications}!dbOpportunity@{db\-Opportunity}}
\subsubsection[{get\-Qualifications}]{\setlength{\rightskip}{0pt plus 5cm}get\-Qualifications (
\begin{DoxyParamCaption}
\item[{\$}]{o}
\end{DoxyParamCaption}
)}}
\label{classdb_opportunity_a32d19577d92e17b4ab00cafae0c4c69a}


\-Definition at line 513 of file db\-Opportunity.\-php.

\hypertarget{classdb_opportunity_a5cb1cf39e5d1604b25873659a4d5ce71}{
\index{db\-Opportunity@{db\-Opportunity}!get\-Responsibilities@{get\-Responsibilities}}
\index{get\-Responsibilities@{get\-Responsibilities}!dbOpportunity@{db\-Opportunity}}
\subsubsection[{get\-Responsibilities}]{\setlength{\rightskip}{0pt plus 5cm}get\-Responsibilities (
\begin{DoxyParamCaption}
\item[{\$}]{o}
\end{DoxyParamCaption}
)}}
\label{classdb_opportunity_a5cb1cf39e5d1604b25873659a4d5ce71}


\-Definition at line 499 of file db\-Opportunity.\-php.

\hypertarget{classdb_opportunity_ad4b8db2f34e538a27126e8a34db6dbdc}{
\index{db\-Opportunity@{db\-Opportunity}!get\-Semester@{get\-Semester}}
\index{get\-Semester@{get\-Semester}!dbOpportunity@{db\-Opportunity}}
\subsubsection[{get\-Semester}]{\setlength{\rightskip}{0pt plus 5cm}get\-Semester (
\begin{DoxyParamCaption}
\item[{\$}]{o}
\end{DoxyParamCaption}
)}}
\label{classdb_opportunity_ad4b8db2f34e538a27126e8a34db6dbdc}


\-Definition at line 457 of file db\-Opportunity.\-php.

\hypertarget{classdb_opportunity_aa04834cf0a04caad6c1da743eedee5ba}{
\index{db\-Opportunity@{db\-Opportunity}!get\-Title@{get\-Title}}
\index{get\-Title@{get\-Title}!dbOpportunity@{db\-Opportunity}}
\subsubsection[{get\-Title}]{\setlength{\rightskip}{0pt plus 5cm}get\-Title (
\begin{DoxyParamCaption}
\item[{\$}]{o}
\end{DoxyParamCaption}
)}}
\label{classdb_opportunity_aa04834cf0a04caad6c1da743eedee5ba}


\-Definition at line 429 of file db\-Opportunity.\-php.

\hypertarget{classdb_opportunity_a0785aaa639cf656d77fdc1e833664d56}{
\index{db\-Opportunity@{db\-Opportunity}!rep\-Paid@{rep\-Paid}}
\index{rep\-Paid@{rep\-Paid}!dbOpportunity@{db\-Opportunity}}
\subsubsection[{rep\-Paid}]{\setlength{\rightskip}{0pt plus 5cm}rep\-Paid (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}
\label{classdb_opportunity_a0785aaa639cf656d77fdc1e833664d56}


\-Definition at line 158 of file db\-Opportunity.\-php.

\hypertarget{classdb_opportunity_a2fa0a0c52c0614e87c0962e995eb6267}{
\index{db\-Opportunity@{db\-Opportunity}!update\-Opportunity@{update\-Opportunity}}
\index{update\-Opportunity@{update\-Opportunity}!dbOpportunity@{db\-Opportunity}}
\subsubsection[{update\-Opportunity}]{\setlength{\rightskip}{0pt plus 5cm}update\-Opportunity (
\begin{DoxyParamCaption}
\item[{\$}]{id, }
\item[{\$}]{o}
\end{DoxyParamCaption}
)}}
\label{classdb_opportunity_a2fa0a0c52c0614e87c0962e995eb6267}
\-Updates opportunity information. 
\begin{DoxyParams}[1]{\-Parameters}
object & {\em \$o} & \-Class \hyperlink{class_opportunity}{\-Opportunity} \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{\-Returns}
int returns 0 if there was an error updating, else returns 1 
\end{DoxyReturn}


\-Definition at line 204 of file db\-Opportunity.\-php.



\-The documentation for this class was generated from the following file\-:\begin{DoxyCompactItemize}
\item 
\-C\-:/\-Users/\-Jon/\-Downloads/\-O\-O\-P/db-\/control/\hyperlink{db_opportunity_8php}{db\-Opportunity.\-php}\end{DoxyCompactItemize}
